package pub.guoxin.oops.auth.service;

import pub.guoxin.oops.auth.vo.AuthRegisterVo;
import pub.guoxin.oops.auth.vo.LoginUserToken;
import pub.guoxin.oops.model.User;
import pub.guoxin.oops.vo.ResultVo;

/**
 * Created by guoxin on 17-11-14.
 */
public interface AuthenticationService {

    User addUser(AuthRegisterVo authenticationRequest);

    String createAuthenticationToken(String username, String password);

    String refreshAndGetAuthenticationToken(String token);


    ResultVo modifyPassword(String username, String password);
}
